package com.qfedu.springmvc.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("jupm")
public class jupm {


    @RequestMapping("/tran")
    public String tran(){
        System.out.println("转发");
        return "forward:/index.jsp";
    }


    @RequestMapping("/tran2")
    public String tran2(){
        System.out.println("");
        return "redirect:/index.jsp";
    }
}
